package com.ys.zero.bean;
/**
 * 文章收藏实体类
 * @author 满熊
 *
 */
public class Collection {
	private int cid;//用户主键 序号
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	private String caccount;//用户账号
	private String ctitle;//用户关注的文章
	private String ctype;//关注的文章类型
	private String cworker;//关注的文章的作者编号
	private String caddress;//关注文章的连接地址
	private String name; //关注文章的作者   注意注意：这个字段在collection表中是不存在的,只是用来存储一下作者昵称
	private int cformat;//判断用户的收藏是视频还是文章  文章--0 视频--1
	public int getCformat() {
		return cformat;
	}
	public void setCformat(int cformat) {
		this.cformat = cformat;
	}
	public int getCid() {
		return cid;
	}
	public void setCid(int cid) {
		this.cid = cid;
	}
	public String getCaccount() {
		return caccount;
	}
	public void setCaccount(String caccount) {
		this.caccount = caccount;
	}
	public String getCtitle() {
		return ctitle;
	}
	public void setCtitle(String ctitle) {
		this.ctitle = ctitle;
	}
	public String getCtype() {
		return ctype;
	}
	public void setCtype(String ctype) {
		this.ctype = ctype;
	}
	public String getCworker() {
		return cworker;
	}
	public void setCworker(String cworker) {
		this.cworker = cworker;
	}
	public String getCaddress() {
		return caddress;
	}
	public void setCaddress(String caddress) {
		this.caddress = caddress;
	}
	@Override
	public String toString() {
		return "Collection [cid=" + cid + ", caccount=" + caccount + ", ctitle=" + ctitle + ", ctype=" + ctype
				+ ", cworker=" + cworker + ", caddress=" + caddress + ", name=" + name + ", cformat=" + cformat + "]";
	}
	

}
